<template>
  <div class="container">
    <!-- 头部 -->
    <div class="top">
      <div class="left">
        <img src="/img/logo_1.jpg" alt="" />
      </div>
      <div class="right">
        <span>
          <a href=""> 我的档案 </a>
        </span>
      </div>
    </div>
    <!-- 客房 -->
    <div class="guestroom">
      <p class="guestroom_p">客房</p>
      <div class="room">
        <!-- 图片部分 -->
        <div class="pic">
          <img src="/img/guest/guest_01_01.jpg" alt="" />
        </div>
        <!-- 介绍 -->
        <div class="introduce">
          <div class="d1">
            <p class="p1">尊贵客房</p>
            <p class="p2">景观</p>
            <span class="s1">都市景观，部分可远眺朝阳公园美景</span>
            <p class="p3">床型选项</p>
            <span class="s2">一张特大床 / 两张单人床</span>
          </div>
          <div class="d2">
            <p class="p2">酒店客房面积</p>
            <span class="s1">46 平方米（495 平方英尺）</span>
          </div>
          <div class="d3">
            <p class="p1">CNY 1,650</p>
            <p class="p4">平均每晚房价</p>
            <p class="p4">不含服务费与税费的</p>
            <p class="p4">每晚房价</p>
            <button @click="$router.push('/reserve')">选择客房</button>
          </div>
        </div>
      </div>
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
      <div class="room">
        <!-- 图片部分 -->
        <div class="pic">
          <img src="/img/guest/guest_01_01.jpg" alt="" />
        </div>
        <!-- 介绍 -->
        <div class="introduce">
          <div class="d1">
            <p class="p1">尊贵客房</p>
            <p class="p2">景观</p>
            <span class="s1">都市景观，部分可远眺朝阳公园美景</span>
            <p class="p3">床型选项</p>
            <span class="s2">一张特大床 / 两张单人床</span>
          </div>
          <div class="d2">
            <p class="p2">酒店客房面积</p>
            <span class="s1">46 平方米（495 平方英尺）</span>
          </div>
          <div class="d3">
            <p class="p1">CNY 1,650</p>
            <p class="p4">平均每晚房价</p>
            <p class="p4">不含服务费与税费的</p>
            <p class="p4">每晚房价</p>
            <button @click="$router.push('/reserve')">选择客房</button>
          </div>
        </div>
      </div>
      <div class="room">
        <!-- 图片部分 -->
        <div class="pic">
          <img src="/img/guest/guest_01_01.jpg" alt="" />
        </div>
        <!-- 介绍 -->
        <div class="introduce">
          <div class="d1">
            <p class="p1">尊贵客房</p>
            <p class="p2">景观</p>
            <span class="s1">都市景观，部分可远眺朝阳公园美景</span>
            <p class="p3">床型选项</p>
            <span class="s2">一张特大床 / 两张单人床</span>
          </div>
          <div class="d2">
            <p class="p2">酒店客房面积</p>
            <span class="s1">46 平方米（495 平方英尺）</span>
          </div>
          <div class="d3">
            <p class="p1">CNY 1,650</p>
            <p class="p4">平均每晚房价</p>
            <p class="p4">不含服务费与税费的</p>
            <p class="p4">每晚房价</p>
            <button @click="$router.push('/reserve')">选择客房</button>
          </div>
        </div>
      </div>
      <div class="room">
        <!-- 图片部分 -->
        <div class="pic">
          <img src="/img/guest/guest_01_01.jpg" alt="" />
        </div>
        <!-- 介绍 -->
        <div class="introduce">
          <div class="d1">
            <p class="p1">尊贵客房</p>
            <p class="p2">景观</p>
            <span class="s1">都市景观，部分可远眺朝阳公园美景</span>
            <p class="p3">床型选项</p>
            <span class="s2">一张特大床 / 两张单人床</span>
          </div>
          <div class="d2">
            <p class="p2">酒店客房面积</p>
            <span class="s1">46 平方米（495 平方英尺）</span>
          </div>
          <div class="d3">
            <p class="p1">CNY 1,650</p>
            <p class="p4">平均每晚房价</p>
            <p class="p4">不含服务费与税费的</p>
            <p class="p4">每晚房价</p>
            <button @click="$router.push('/reserve')">选择客房</button>
          </div>
        </div>
      </div>
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
    </div>
    <!-- 套房 -->
    <div class="suite">
      <p class="suite_p">套房</p>
      <div class="suite_room">
        <!-- 图片部分 -->
        <div class="pic">
          <img src="/img/guest/guest_01_01.jpg" alt="" />
        </div>
        <!-- 介绍 -->
        <div class="introduce">
          <div class="d1">
            <p class="p1">尊贵客房</p>
            <p class="p2">景观</p>
            <span class="s1">都市景观，部分可远眺朝阳公园美景</span>
            <p class="p3">床型选项</p>
            <span class="s2">一张特大床 / 两张单人床</span>
          </div>
          <div class="d2">
            <p class="p2">酒店客房面积</p>
            <span class="s1">46 平方米（495 平方英尺）</span>
          </div>
          <div class="d3">
            <p class="p1">CNY 1,650</p>
            <p class="p4">平均每晚房价</p>
            <p class="p4">不含服务费与税费的</p>
            <p class="p4">每晚房价</p>
            <button @click="$router.push('/spa')">选择客房</button>
          </div>
        </div>
      </div>
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
      <div class="suite_room">
        <!-- 图片部分 -->
        <div class="pic">
          <img src="/img/guest/guest_01_01.jpg" alt="" />
        </div>
        <!-- 介绍 -->
        <div class="introduce">
          <div class="d1">
            <p class="p1">尊贵客房</p>
            <p class="p2">景观</p>
            <span class="s1">都市景观，部分可远眺朝阳公园美景</span>
            <p class="p3">床型选项</p>
            <span class="s2">一张特大床 / 两张单人床</span>
          </div>
          <div class="d2">
            <p class="p2">酒店客房面积</p>
            <span class="s1">46 平方米（495 平方英尺）</span>
          </div>
          <div class="d3">
            <p class="p1">CNY 1,650</p>
            <p class="p4">平均每晚房价</p>
            <p class="p4">不含服务费与税费的</p>
            <p class="p4">每晚房价</p>
            <button @click="$router.push('/spa')">选择客房</button>
          </div>
        </div>
      </div>
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
      <!--  -->
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
// 头部
.top {
  display: flex;
  .left {
    img {
      display: inline-block;
      width: 20%;
      margin-top: 10px;
    }
  }
  .right {
    width: 90%;
    color: #767676;
    text-decoration: none;
    span {
      width: 90%;
      display: inline-block;
      margin-top: 10px;
      font-size: 12px;
      color: #767676;
      height: 100%;
      line-height: 100%;
      text-align: right;
    }
  }
}
// 客房
.guestroom_p {
  margin: 30px 0px 25px 150px;
}
.guestroom {
  // 房间图片
  .room {
    background-color: #f5f5f5;
    // border: 1px solid red;
    margin: 50px auto;
    width: 80%;
    height: 250px;

    .pic {
      float: left;
      width: 30%;
      height: 100%;
      img {
        height: 100%;
        width: 100%;
      }
    }
    // 介绍
    .introduce {
      float: right;
      width: 69%;
      height: 100%;
      display: flex;
      justify-content: space-around;
      div {
        width: 30%;
      }
      .d1 {
        .p1 {
          font-size: 20px;
          font-weight: bold;
          margin: 20px 0px 10px 0px;
        }
        .p2 {
          font-size: 15px;
          font-weight: bold;
          margin: 10px 0px;
        }
        .s1,
        .s2 {
          font-size: 8px;
          margin: 10px 0px;
        }
        .p3 {
          font-size: 15px;
          font-weight: bold;
          margin: 10px 0px;
        }
      }
      .d2 {
        .p2 {
          font-size: 15px;
          font-weight: bold;
          margin: 50px 0px 20px 20px;
        }
        .s1 {
          font-size: 8px;
          margin: 15px 20px;
        }
      }
      .d3 {
        text-align: right;
        .p1 {
          font-size: 20px;
          font-weight: bold;
          margin: 30px 0px 20px 0px;
        }
        .p4 {
          font-size: 15px;
          margin: 5px 0px 5px 0px;
        }

        button {
          margin: 50px 30px 0px 0px;
          width: 60%;
          height: 40px;
          background-color: black;
          color: #fff;
        }
        button:hover {
          background-color: #fff;
          color: black;
        }
      }
    }
  }
}
// 套房
.suite_p {
  margin: 30px 0px 25px 150px;
}
.suite {
  .suite_room {
    background-color: #f5f5f5;
    // border: 1px solid red;
    margin: 50px auto;
    width: 80%;
    height: 250px;

    .pic {
      float: left;
      width: 30%;
      height: 100%;
      img {
        height: 100%;
        width: 100%;
      }
    }
    // 介绍
    .introduce {
      float: right;
      width: 69%;
      height: 100%;
      display: flex;
      justify-content: space-around;
      div {
        width: 30%;
      }
      .d1 {
        .p1 {
          font-size: 20px;
          font-weight: bold;
          margin: 20px 0px 10px 0px;
        }
        .p2 {
          font-size: 15px;
          font-weight: bold;
          margin: 10px 0px;
        }
        .s1,
        .s2 {
          font-size: 8px;
          margin: 10px 0px;
        }
        .p3 {
          font-size: 15px;
          font-weight: bold;
          margin: 10px 0px;
        }
      }
      .d2 {
        .p2 {
          font-size: 15px;
          font-weight: bold;
          margin: 50px 0px 20px 20px;
        }
        .s1 {
          font-size: 8px;
          margin: 15px 20px;
        }
      }
      .d3 {
        text-align: right;
        .p1 {
          font-size: 20px;
          font-weight: bold;
          margin: 30px 0px 20px 0px;
        }
        .p4 {
          font-size: 15px;
          margin: 5px 0px 5px 0px;
        }

        button {
          margin: 50px 30px 0px 0px;
          width: 60%;
          height: 40px;
          background-color: black;
          color: #fff;
        }
        button:hover {
          background-color: #fff;
          color: black;
        }
      }
    }
  }
}
</style>
